import 'package:favor_cate/core/model/category_model.dart';
import 'package:favor_cate/ui/pages/meal/meal_content.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

class MealScreen extends StatelessWidget {
  static const String routeName = "/meal";

  @override
  Widget build(BuildContext context) {
    final _category = ModalRoute.of(context)!.settings.arguments as CategoryModel;


    return Scaffold(
      appBar: AppBar(title: Text(_category.title),),
      body: MealContent(_category),
    );
  }
}
